#ifndef HANDLER_H
#define HANDLER_H

#include <QObject>

class Handler : public QObject
{
    Q_OBJECT
private:
    explicit Handler(QObject *parent = nullptr);
    //单例模式
public:
    static Handler * getInstance();
    void addScore();

signals:
    void beatMouse();

private:
    static Handler *handler;

};

#endif // HANDLER_H
